package com.koko.service;

import com.koko.game.entity.GameView;
import com.koko.game.vo.GameViewListVO;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface GameViewService {

    void save(Long id, MultipartFile[] images, MultipartFile[] videos);

    void deleteByGameId(Long gameId);

    GameViewListVO getGameViewByGameId(Long id);

    GameViewListVO getGameViewWithIdByGameId(Long gameId);

    List<String> getGameImageViewOnCarouselByGameId(Long gameId);

    void uploadVideo(Long gameId, MultipartFile chunk, Integer index, Integer totalChunks, String fileName);

    void uploadImage(Long gameId, MultipartFile imageFile);

    void deleteBatch(List<Long> ids);
}
